package org.sixtynine.stock.result;

/**
 * all the sortable object should extends this
 * 
 * @author Thilanka
 * 
 */
public class Sortable {

	public static final String SORT_ORDER_ACS = "asc";
	public static final String SORT_ORDER_DESC = "desc";
	
	private String sortField;
	private String sortOrder;

	public Sortable(String sortField, String sortOrder) {
		this.sortField = sortField;
		this.sortOrder = sortOrder;
	}

	public String getSortField() {
		return sortField;
	}

	public void setSortField(String sortField) {
		this.sortField = sortField;
	}

	public String getSortOrder() {
		return sortOrder;
	}

	public void setSortOrder(String sortOrder) {
		this.sortOrder = sortOrder;
	}

}
